/**
 * @Description:
 * @Author bianpengfei
 * @create 2021/6/25 15:39
 */
import { useState, useEffect } from 'react'
import context from './context'

const { Consumer } = context
function C() {
  return <div className={'c'}>
    <Consumer>
      {
        value => {
          return <div>C：用户名：{value.userName}</div>
        }
      }
    </Consumer>

  </div>
}

export default C
